<!DOCTYPE html>
<html lang="zh_CN" xmlns:th="http://www.w3.org/1999/xhtml"
      xmlns:shiro="http://www.w3.org/1999/xhtml">
<head th:include="include :: header"></head>
<body class="gray-bg">
<div class="wrapper wrapper-content ">
    <div class="row">
        <div class="col-sm-2">
            <div class="ibox ibox-body">
                <div class="ibox-title">
                    <h5>选择人员</h5>
                </div>
                <div class="ibox-content">
                    <div id="jstree"></div>
                </div>
            </div>
        </div>
        <div class="col-sm-10">
            <div class="ibox">
                <div class="ibox-body">
                    <div class="fixed-table-toolbar">
                        <div class="columns pull-left">
                            <button shiro:hasPermission="yw:sign:add" type="button"
                                    class="btn  btn-primary hidden" onclick="add()">
                                <i class="fa fa-plus hidden" aria-hidden="true"></i>添加
                            </button>
                            <button shiro:haspermission="yw:sign:remove" type="button"
                                    class="btn  btn-danger hidden" onclick="getTreeData()">
                                <i class="fa fa-trash hidden" aria-hidden="true"></i>删除
                            </button>
                        </div>
                        <div class="columns pull-right">
                            <button class="btn btn-success" onclick="reLoad()">查询</button>
                        </div>
                        <div class="columns pull-right col-md-2 nopadding">
                            <input id="searchDateEnd" type="text" class="form-control"
                                   placeholder="结束日期">
                        </div>
                        <div class=" columns pull-right col-md-2 nopadding">
                            <input id="searchDateStart" type="text" class="form-control"
                                   placeholder="起始日期">
                            <input id="userId" type="text" class="hidden" title="" value="-1">
                        </div>
                    </div>
                    <table id="exampleTable" data-mobile-responsive="true">
                    </table>
                </div>
            </div>
        </div>
    </div>

    <div>
        <script type="text/javascript">
            var s_edit_h = 'hidden';
            var s_remove_h = 'hidden';
        </script>
    </div>
    <div shiro:hasPermission="yw:sign:edit">
        <script type="text/javascript">
            s_edit_h = '';
        </script>
    </div>
    <div shiro:hasPermission="yw:sign:remove">
        <script type="text/javascript">
            s_remove_h = '';
        </script>
    </div>
</div>
<div th:include="include :: footer"></div>
<script th:src="@{/appjs/yw/sign/sign.js}"></script>
<script th:src="@{/component/laydate/laydate.js}"></script>
</body>
</html>